package org.bl.chat.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import lombok.Data; // 假设您使用了 Lombok

@Data
@ApiModel(description = "新增频道请求参数")
public class ChannelSaveDTO {

    @ApiModelProperty("频道ID")
    private String id;

    @ApiModelProperty("频道名称")
    @NotBlank(message = "频道名称不能为空")
    private String name;

}